package hello;

public class j05_WhileTest {

	public static void main(String[] args) {
		int i=0;	
		while(i<5)
			{
				System.out.println(i);
				i++;
			}
	
	 
	int j=5;
	do
			{
				System.out.println(j);
				j--;
			}while(j<5 && j>0);

}
}